package liuwanghui.dto.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class ProductStatusDTO {
    @NotBlank(message = "状态不能为空")
    @Pattern(regexp = "ON_SALE|OFF_SALE|DELETED", message = "状态值无效")
    private String status;
    
    private String remark;
}